package cn.hongxin.sap.conn.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import cn.getech.poros.framework.common.annotation.Excel;

/**
 * <p>
 * 测试用户
 * </p>
 *
 * @author hengji.li@getech.cn
 * @since 2020-03-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("poros_demo_user")
@ApiModel(value = "PorosDemoUser对象", description = "测试用户")
public class PorosDemoUser extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    @Excel(name="姓名",cellType = Excel.ColumnType.STRING)
    private String name;

    @ApiModelProperty(value = "年龄")
    @TableField("age")
    @Excel(name="年龄",cellType = Excel.ColumnType.STRING)
    private Integer age;


}
